package org.springblade.modules.platform.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import io.swagger.annotations.ApiModelProperty;



public class MeasuringChainPlatformInfoGraphicalVO {

    /**
     * 测量连方向ID
     */
    @ApiModelProperty(value = "测量连方向ID")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long measuringTypeId;

    /**
     * 距离
     */
    @ApiModelProperty(value = "ID")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long id;
    /**
     * 距离
     */
    @ApiModelProperty(value = "距离")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Double previousDistance;

    /**
     * X轴夹角
     */
    @ApiModelProperty(value = "X轴夹角")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Double xAxis;

    /**
     * Y轴夹角
     */
    @ApiModelProperty(value = "Y轴夹角")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Double yAxis;

    /**
     * 父级侧台ID
     */
    @ApiModelProperty(value = "父级侧台ID")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long parentPlatformId;

    /**
     * 父级侧台ID
     */
    @ApiModelProperty(value = "父级侧台名称")
    private String parentPlatformName;

    /**
     * 测台id
     */
    @ApiModelProperty(value = "测台id")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long measuringPlatformId;

    /**
     * 测台名称
     */
    @ApiModelProperty(value = "测台名称")
    private String measuringPlatformName;
    /**
     * 测台名称
     */
    @ApiModelProperty(value = "是否删除")
    private Boolean isDelete;


    /**
     * 测台类型：1，基础测台；2，普通测台
     */
    @ApiModelProperty(value = "测台类型：1，基础测台；2，普通测台")
    private Integer measuringPlatformType;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;

    private String x;

    private String y;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMeasuringTypeId() {
        return measuringTypeId;
    }

    public void setMeasuringTypeId(Long measuringTypeId) {
        this.measuringTypeId = measuringTypeId;
    }

    public Double getPreviousDistance() {
        return previousDistance;
    }

    public void setPreviousDistance(Double previousDistance) {
        this.previousDistance = previousDistance;
    }

    public Double getxAxis() {
        return xAxis;
    }

    public void setxAxis(Double xAxis) {
        this.xAxis = xAxis;
    }

    public Double getyAxis() {
        return yAxis;
    }

    public void setyAxis(Double yAxis) {
        this.yAxis = yAxis;
    }

    public Long getParentPlatformId() {
        return parentPlatformId;
    }

    public void setParentPlatformId(Long parentPlatformId) {
        this.parentPlatformId = parentPlatformId;
    }

    public Long getMeasuringPlatformId() {
        return measuringPlatformId;
    }

    public void setMeasuringPlatformId(Long measuringPlatformId) {
        this.measuringPlatformId = measuringPlatformId;
    }

    public String getMeasuringPlatformName() {
        return measuringPlatformName;
    }

    public void setMeasuringPlatformName(String measuringPlatformName) {
        this.measuringPlatformName = measuringPlatformName;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }


    public String getParentPlatformName() {
        return parentPlatformName;
    }

    public void setParentPlatformName(String parentPlatformName) {
        this.parentPlatformName = parentPlatformName;
    }

    public Integer getMeasuringPlatformType() {
        return measuringPlatformType;
    }

    public void setMeasuringPlatformType(Integer measuringPlatformType) {
        this.measuringPlatformType = measuringPlatformType;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }

    public String getX() {
        return x;
    }

    public void setX(String x) {
        this.x = x;
    }

    public String getY() {
        return y;
    }

    public void setY(String y) {
        this.y = y;
    }

    @Override
    public String toString() {
        return "MeasuringChainPlatformInfo{" +
                "id=" + id +
                ", measuringTypeId=" + measuringTypeId +
                ", previousDistance=" + previousDistance +
                ", xAxis=" + xAxis +
                ", yAxis=" + yAxis +
                ", parentPlatformId=" + parentPlatformId +
                ", parentPlatformName='" + parentPlatformName + '\'' +
                ", measuringPlatformId=" + measuringPlatformId +
                ", measuringPlatformName='" + measuringPlatformName + '\'' +
                ", sort=" + sort +
                ", measuringPlatformType=" + measuringPlatformType +
                ", x='" + x + '\'' +
                ", y='" + y + '\'' +
                '}';
    }
}
